﻿using System;
using Pap.Data;

namespace Pap.Services.WorkflowEngine
{
    /// <summary>
    /// 
    /// </summary>
    public class Step
    {
        /// <summary>
        /// Gets or sets the display name.
        /// </summary>
        /// <value>
        /// The display name.
        /// </value>
        public string DisplayName { get; set; }
        /// <summary>
        /// Gets or sets the description.
        /// </summary>
        /// <value>
        /// The description.
        /// </value>
        public string Description { get; set; }
        /// <summary>
        /// Gets or sets the creation date.
        /// </summary>
        /// <value>
        /// The creation date.
        /// </value>
        public DateTime CreationDate { get; set; }
        /// <summary>
        /// Gets or sets the completion date.
        /// </summary>
        /// <value>
        /// The completion date.
        /// </value>
        public Nullable<DateTime> CompletionDate { get; set; }
        /// <summary>
        /// Gets or sets a value indicating whether this instance is last step.
        /// </summary>
        /// <value>
        /// 	<c>true</c> if this instance is last step; otherwise, <c>false</c>.
        /// </value>
        public bool IsLastStep { get; set; }
        /// <summary>
        /// Gets or sets the previous notes.
        /// </summary>
        /// <value>
        /// The previous notes.
        /// </value>
        public string PreviousNotes { get; set; }
        /// <summary>
        /// Gets or sets the type of the action.
        /// </summary>
        /// <value>
        /// The type of the action.
        /// </value>
        public ActionTypes ActionType { get; set; }
        /// <summary>
        /// Gets or sets the user.
        /// </summary>
        /// <value>
        /// The user.
        /// </value>
        public IUser User { get; set; }
        /// <summary>
        /// Gets or sets the previous step action.
        /// </summary>
        /// <value>
        /// The previous step action.
        /// </value>
        public IwfActionType PreviousStepAction { get; set; }
    }
}
